package com.erp.service;

import com.erp.entity.Breakage;
import com.erp.entity.vo.BreakageSituationVO;
import com.erp.entity.vo.BreakageVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pyj
 * @since 2020-11-07
 */
public interface BreakageService {
    
    List<BreakageVO> getAll();

    int add(Breakage breakage);

    int delete(Integer id);

    int update(Breakage breakage);
    
    List<BreakageSituationVO> getBreakageSituation(String start, String end);
}
